-- GENERATED SPELL FOR [Alchemist Gribble] --


function spell0_18802(pUnit, Event) --@Shadow Burst,n/a--
pUnit:FullCastSpellOnTarget(28447,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18802', 577, 1)
end

function Sorts_18802(pUnit, Event)
local choix_sorts_18802 = math.random(0, 0)
if choix_sorts_18802 == 0 then
pUnit:RegisterEvent('spell0_18802', 1, 1)
end
end

function mob18802_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18802', math.random(1500, 3000), 1)
end

function mob18802_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18802_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18802_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18802, 1, 'mob18802_Action')
RegisterUnitEvent(18802, 2, 'mob18802_Leave')
RegisterUnitEvent(18802, 3, 'mob18802_Kill')
RegisterUnitEvent(18802, 4, 'mob18802_Die')
